package com.yingluo.abacus.cloud.service.provider;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.yingluo.abacus.cloud.service.provider.utils.ServiceProviderUtils;

//http://localhost:8099/abacus/cloud/service-provider/hello
@RestController
@RequestMapping(value = ServiceProviderUtils.MODULE_SERIVCEPROVIDER)
public class HelloControler {
	private static final Logger logger = LoggerFactory.getLogger(HelloControler.class);
    @Value("${my.message}")
    String messageCloud;
 
	@RequestMapping(value = "/hello",method = RequestMethod.GET)
	public String excute() {
		   return "hi ,i am from service:" +messageCloud;
	}
	


}

